<template>
  <h3>{{ title }}</h3>
  <ul>
    <li v-for="item in list" :key="item.id">
      {{ item.name }}
    </li>
  </ul>
</template>

<script>
export default {
  props: ["title", "list"],
};
</script>
